package dk.hewison.client.data;

import com.google.gwt.user.client.rpc.AsyncCallback;
import dk.hewison.client.domain.Directory;

/**
 * @author John Hewison
 * @author $LastChangedBy: john.hewison $:  $ $LastChangedDate: 2009-02-04 20:02:52 +0000 (Wed, 04 Feb 2009) $:
 * @version $Revision: 360 $:
 */
public interface MediaServerAsync {

    /**
     * @param directory     The full path to the folder.
     * @param asyncCallback A List of image filenames.
     */
    void getDirectoryImageNames(Directory directory, AsyncCallback<Directory> asyncCallback);

    void getDirectory(Directory directory, AsyncCallback<Directory> callback);


}
